package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.AnswerLogPo;
import com.abel.quiz.po.AnswerLogPoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:03
* @description
*/
public interface AnswerLogPoDao extends BaseDao<AnswerLogPo, AnswerLogPoCriteria>{

    int countByExample(AnswerLogPoCriteria example);
    
    int deleteByExample(AnswerLogPoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(AnswerLogPo record);
    
    int insertSelective(AnswerLogPo record);
    
    List<AnswerLogPo> selectByExample(AnswerLogPoCriteria example);

    AnswerLogPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AnswerLogPo record, @Param("example") AnswerLogPoCriteria example);

    int updateByExample(@Param("record") AnswerLogPo record, @Param("example") AnswerLogPoCriteria example);

    int updateByPrimaryKeySelective(AnswerLogPo record);

    int updateByPrimaryKey(AnswerLogPo record);
}